#pragma once

#include "Astuff.h"

class Aobj
{
private:
	int aonStart();
	void aonStopped();
	int checkStuff();
protected:
	Astuff * mastuff;
	void setObjName(const TCHAR * s);

public:
	//Aobj();
	Aobj( bool stuff=false);
	virtual ~Aobj(void);

	int acreate();
	void adestory();

	//virtual int create();
	//virtual void destory();
//----------------------------------
	const TCHAR * getObjName();
	int ainit();
	void aexit();

	int areset();
	int astart();
	void apause();
	void astop();
	bool isrun();
};
